body {
	margin: 0;
	overflow: hidden;
	font-family: sans-serif;
}
canvas {
	width: 100%;
	height: 100%;
}

#canvas {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

#toolBar {
	position: absolute;
	right: 0;
	top: 10px;
	z-index: 3;
}

#toolBar input {
	display: none;
}
#toolBar label {
	margin: 5px;
	padding: 5px;
}
#toolBar input:checked+label {
	border: 2px solid #555;
}

#menu {
	position: absolute;
	left: -400px;
	top: 0;
	width: 400px;
	height: 100%;
	background: #222;
	color: #999;
	z-index: 2;
	transition: left 0.5s;
	-moz-transition: left 0.5s; /* Firefox 4 */
	-webkit-transition: left 0.5s; /* Safari 和 Chrome */
	-o-transition: left 0.5s; /* Opera */
	overflow-x: hidden;
	overflow-y: auto;
}

#prop {
	width: 90%;
	margin: 0 auto;
	padding: 10px 0;
}

#prop label {
	display: block;
	padding: 5px 0;
}

#prop textarea {
	width: 100%;
	height: 400px;
	background: rgba(0, 0, 0, 0.2);
	border: 0;
	color: white;
	font-size: 1em;
	font-family: monospace;
}

#port {
	display: none;
	position: fixed;
	z-index: 10;
	background: #fff;
	margin-left: 10px;
	margin-top: 10px;
	padding: 2px 5px;
	font-size: 0.7em;
}

.section {
	margin-top: 20px;
}
